/* 间距容器 */
.space {
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

/* 方向 */
.space-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
}

.space-vertical {
    flex-direction: column;
}

/* 大小 */
.space-xs {
    gap: 4px;
}

.space-small {
    gap: 8px;
}

.space-medium {
    gap: 16px;
}

.space-large {
    gap: 24px;
}

.space-xl {
    gap: 32px;
}

/* 对齐方式 */
.space-start {
    align-items: flex-start;
}

.space-center {
    align-items: center;
}

.space-end {
    align-items: flex-end;
}

.space-baseline {
    align-items: baseline;
}

.space-stretch {
    align-items: stretch;
}

/* 水平对齐 */
.space-justify-start {
    justify-content: flex-start;
}

.space-justify-center {
    justify-content: center;
}

.space-justify-end {
    justify-content: flex-end;
}

.space-justify-between {
    justify-content: space-between;
}

.space-justify-around {
    justify-content: space-around;
}

/* 间距项 */
.space-item {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* 响应式 */
@media (max-width: 600px) {
    .space-medium {
        gap: 12px;
    }
    
    .space-large {
        gap: 16px;
    }
}
